package org.fastsyncer.common.entity;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;

/**
 * @ClassName: WebServiceConfig 
 * @Description: Webservice连接配置
 * @author AE86
 * @date: 2017年7月20日 下午3:40:59
 */
public class WebServiceConfig implements Serializable {
	
	private static final long serialVersionUID = 1307635919219433405L;
	
	// 服务地址http://localhost:9898/fastsyncer/services/ws?wsdl
	private String url;
	
	// 调用方法 handle
	private String method;
	
	// 主键 id
	private String primaryKey;
	
	// 属性
	private List<HashMap<String, Object>> column;

	public WebServiceConfig() {
		super();
	}

	public WebServiceConfig(String url, String method, String primaryKey) {
		super();
		this.url = url;
		this.method = method;
		this.primaryKey = primaryKey;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getPrimaryKey() {
		return primaryKey;
	}

	public void setPrimaryKey(String primaryKey) {
		this.primaryKey = primaryKey;
	}

	public List<HashMap<String, Object>> getColumn() {
		return column;
	}

	public void setColumn(List<HashMap<String, Object>> column) {
		this.column = column;
	}

}
